<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
		<title>{$seo_title}</title>
		<meta name="Keywords" content="{$seo_keywords}">
		<meta name="Description" content="{$seo_description}">
		{include file="book@mobile_public/static" /}
		<link href="__MOBILE__css/book.css" rel="stylesheet" />
	</head>
	<body>
		{include file="book@mobile_public/head_book" /}
		<div id="content">
			<div id="chapterList-page">
				<div class="container-fluid">
					<div class="clp-nav1 row">
						<div class="item col-xs-4 active"><a href="javascript:;">目录</a></div>
						<div class="item col-xs-4"><a href="{$book.url}">书页</a></div>
						<div class="item col-xs-4"><a href="#">评论</a></div>
					</div>
				</div>
				<div class="line01"></div>
				<div class="container-fluid">
					<div class="clp-quick-chapter-list">
						<div class="row">
							<div class="col-xs-3"><p class="active1">上次读到</p></div>
							<div class="col-xs-8">{if $last_read_chapter}<a href="{:url('book/book/chapter',['cid'=>$last_read_chapter.id])}">{$last_read_chapter.chapter_name}</a>{else}暂无记录{/if}</div>
							<div class="col-xs-1"><i class="fa fa-angle-right"></i></div>
						</div>
						<div class="row">
							<div class="col-xs-3"><p class="active2">最新更新</p></div>
							<div class="col-xs-8">{if $last_chapter}<a href="{$last_chapter.url}">{$last_chapter.chapter_name}</a>{else}暂无更新{/if}</div>
							<div class="col-xs-1"><i class="fa fa-angle-right"></i></div>
						</div>
					</div>
				</div>
				<div class="line01"></div>
				{if empty($book.volumes)}
					<div class="volume-title"><p>正文卷</p></div>
					<div class="container-fluid">
						{volist name="list" id="vo" key="k"}
						<a href="{$vo.url}">
							<div class="clp-list row">
								<div class="col-xs-10">{$vo.chapter_name}</div>
								<div class="col-xs-2">
									{if $vo.charge}<span class="vip">VIP</span>{else}<span class="free">免费</span>{/if}
								</div>
							</div>
						</a>
						{/volist}
					</div>
				{else}
					{volist name="$book.volumes" key="volume_k" id="volume"}
						<div class="volume-title"><p>{$volume}</p></div>
						{volist name="list" id="vo"}
							{if $vo.volume == $volume_k}
							<div class="container-fluid">
								<a href="{$vo.url}">
									<div class="clp-list row">
										<div class="col-xs-10">{$vo.chapter_name}</div>
										<div class="col-xs-2">
											{if $vo.charge}<span class="vip">VIP</span>{else}<span class="free">免费</span>{/if}
										</div>
									</div>
								</a>
							</div>
							{/if}
						{/volist}
					{/volist}
				{/if}
			</div>
		</div>
		{include file="book@mobile_public/foot" /}
	</body>
</html>